#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Datetime: 2021/11/16 11:18
# @Author  : CHEN Wang
# @Site    : 
# @File    : self_defined.py
# @Software: PyCharm

"""
脚本说明: 自定义指标
"""

onchain_metrics_list = ['Illiquid Supply Shock', 'Long-Term Holder Supply Shock', 'Supply Delta',
                        'On-chain Cost Basis', 'Supply per Whale (100 - 10k BTC)', 'Top Cap Model',
                        'RVT Ratio', 'RVT Ratio (Entity-Adjusted)', 'Realized Price-to-Liveliness Ratio',
                        '28-day Market Realised Gradient', '140-day Market Realised Gradient',
                        'Value Days Destroyed Multiple', 'Difficulty Ribbon MA9-MA200 ratio']
trading_metrics_list = ['Close MA140 ratio', 'Close MA120 ratio',
                        'Close VWAP140 ratio', 'Close VWAP120 ratio',
                        'Bitcoin Price Temperature', 'Mayer Multiple',
                        'DIY Stablecoin Supply Ratio (SSR)',
                        'DIY Stablecoin Supply Ratio (SSR) Oscillator 120',
                        'DIY Stablecoin Supply Ratio (SSR) Oscillator 140',
                        'DIY Stablecoin Supply Ratio (SSR) Oscillator 200',
                        'DIY Futures Perpetual Funding Rate BTC-USD',
                        'DIY Futures Perpetual Funding Rate BTC-USDT',
                        'DIY Futures Perpetual Funding Rate Diff BTC-USDT - BTC-USD',
                        'DIY Futures Perpetual Funding Rate Plus BTC-USDT + BTC-USD']
social_metrics_list = ['relative_sentiment_twitter', 'relative_sentiment_telegram',
                       'relative_sentiment_reddit', 'relative_sentiment_bitcointalk']

true_stalecoin_crypto = {'usdt': 'tether',
                         'usdc': 'usd-coin',
                         'busd': 'binance-usd',
                         'tusd': 'trueusd',
                         'usdp': 'paxos-standard',
                         'husd': 'husd',
                         'gusd': 'gemini-dollar',
                        #  'usdk': 'usdk',
                         }

all_stalecoin_crypto = {'usdt': 'tether',
                        'usdc': 'usd-coin',
                        'busd': 'binance-usd',
                        'tusd': 'trueusd',
                        'usdp': 'paxos-standard',
                        'husd': 'husd',
                        'gusd': 'gemini-dollar',
                        # 'usdk': 'usdk',
                        'rsr': 'reserve-rights',

                        # 下面属于算法稳定币
                        'ust': 'terrausd',  # Terra燃烧luna生成的ust
                        'dai': 'multi-collateral-dai',  # 背后是虚拟资产，不是真正的1美元
                        'cdai': 'cdai',  # defi挖矿锁定的稳定币
                        'cusdc': 'compound-usd-coin',
                        'cusdt': 'compound-usdt',
                        'usdn': 'neutrino-usd',  # waves链上的算法稳定币
                        'fei': 'fei-usd',
                        'tribe': 'tribe',
                        'frax': 'frax',
                        'lusd': 'liquity-usd',
                        }